﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;
using CommerceOne.Widgets.Commons;

namespace CommerceOne.Widgets.HeroImage
{
    public class Configurations
    {
        public UrlAddress Link { get; set; }

        public List<ImageItem> HeroImages { get; set; }

    }

    public class ImageItem
    {
        [XmlAttribute("ID")]
        public int ID { get; set; }

        [XmlAttribute("ImageUrl")]
        public string ImageUrl { get; set; }

        [XmlAttribute("Description")]
        public string Description { get; set; }

        [XmlAttribute("Alt")]
        public string Alt { get; set; }
    }

    //public class UrlAddress
    //{
    //    [XmlAttribute("Text")]
    //    public string Text { get; set; }

    //    [XmlAttribute("Url")]
    //    public string Address { get; set; }

    //}
}